/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.grape.ciq.support;

import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

/**
 *
 * @author wmao
 */
public class WebServiceClient extends WebServiceGatewaySupport {

    public Object callWebService(String url, Object request) {
        return getWebServiceTemplate().marshalSendAndReceive(url, request);
    }
}
